package cn.gz.demo.ui.tab_fragment;

import android.content.Context;
import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;

import androidx.databinding.DataBindingUtil;
import androidx.fragment.app.Fragment;

import javax.annotation.Nullable;

import cn.gz.demo.R;
import cn.gz.demo.databinding.TabBinding;

/**
 * Created by Lyz on 2017/3/8.
 */
public class FoundFragment extends Fragment {
    TabBinding binding;
    Context context;

    @Nullable
    @Override
    public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        binding = DataBindingUtil.inflate(inflater, R.layout.tab_fragment, container, false);
        context = getContext();
        return binding.getRoot();
    }

    @Override
    public void onActivityCreated(@Nullable Bundle savedInstanceState) {
        super.onActivityCreated(savedInstanceState);
        binding.tabFragmentTv.setText("发现");
    }
}
